Potrace Library API

ثبت نشده
چکیده

For Potrace, a bitmap of size w × h is embedded in a cartesian coordinate system where each pixel takes up the space of one unit square. The pixels are positioned so that the corners of pixels (and not their centers) lie at points with integer coordinates, as illustrated in Figure 1. The origin of the coordinate system is at the lower left corner of the bitmap. The four corners of the bitmaps have coordinates (0, 0), (0, h), (w, h), and (w, 0). Sometimes we need to refer to a specific pixel (as opposed to a point in the plane). When we speak of “pixel [i, j]”, we mean the pixel whose corners have coordinates (i, j), (i, j + 1), (i + 1, j + 1), (i + 1, j) in Potrace’s coordinate system. Thus, pixel [i, j] is the pixel whose center is at coordinates (i + 0.5, j + 0.5). To avoid confusion, we use square brackets to refer to the pixel [i, j], and round brackets to refer to the point (i, j).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Empirical Study on Evolution of API Documentation

With the evolution of an API library, its documentation also evolves. The evolution of API documentation is common knowledge for programmers and library developers, but not in a quantitative form. Without such quantitative knowledge, programmers may neglect important revisions of API documentation, and library developers may not effectively improve API documentation based on its revision histor...

متن کامل

An empirical study on the impact of refactoring activities on evolving client-used APIs

Context: Refactoring is recognized as an effective practice to maintain evolving software systems. For software libraries, we study how library developers refactor their Application Programming Interfaces (APIs), especially when it impacts client users by breaking an API of the library. Objective: Our work aims to understand how clients that use a library API are affected by refactoring activit...

متن کامل

Building an Open-source Solaris-compatible Threads Library

Applications that use the Solaris threads application programming interface (API), e.g. thr_create(), mutex_lock(), cond_signal(), etc. [1], are generally non-portable. Thus to port an application that uses Solaris threads to another platform will require some degree of work. Solaris now supports the POSIX threads API as well as the Solaris threads API. Therefore to make a Solaris threaded appl...

متن کامل

Application programming interface (API)

An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other. An API may include specifications for routines, data structures, object classes, and variables. An API specification can take many forms, including an International Standard such as POSIX or vendor documentation such as the Microsoft Windows AP...

متن کامل

A Lightweight Library for Building Scalable Tools

MRNet is a software-based multicast reduction network for building scalable tools. Tools face communication and computation issues when used on large systems; MRNet alleviates these issues by providing multicast communication and data aggregation functionalities. Until now, the MRNet API has been entirely in C++. We present a new, lightweight library that provides a C interface for MRNet back-e...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013